package com.bawei.yangzongcai___day2.MaiDongFangQi.day15;

import com.bawei.mvp.Model.initModel;
import com.bawei.mvp.View.initView;
import com.bawei.yangzongcai___day2.MVPActivity.Foodcallback;
import com.bawei.yangzongcai___day2.MVPActivity.JavaMVP;
import com.bawei.yangzongcai___day2.MaiDongFangQi.day15.MMVVPP.M.mmvvppModel;
import com.bawei.yangzongcai___day2.MaiDongFangQi.day15.MMVVPP.V.mmvvppView;

import java.util.List;

/**
 * create by ertu
 * create on 2021/8/3
 * description
 */
public interface DoodYueshu {
    //必须用接口FoodContract 来约束MVP的 Model 和 view 接口  目的是控制他们来干什么工作
    interface  foodmodeloo extends mmvvppModel {
        void getdateoo(DoodCallBack doodCallBack);//给Model添加成功失败方法接口
    }

    interface  foodviewoo extends mmvvppView {
        void initadapteroo(List<JavaMVP.DataBean> dataBeans);//获取集合
    }
}
